// AI Helicopter configuration files
// by Holger Sandmann (hsandman@sfu.ca) 
// and Doug Callihan
// 
// Version 1, May 2003
//
// for CH-46 GMax
// by Rory Kelly, rorykelly2002@yahoo.com
//
// based on Stemme motor glider aircraft.cfg
// by Al Kaiser, kaiser@va-works.com or http://www.va-works.com/
//
// !!!Copyright remains with the original authors!!!


[fltsim.0]
title=AI Boeing CH-46 GMax Navy
sim=stemme_as_helicopter_2
//sim=CH-46
model=
panel=
sound=
texture=Navy
//texture=navy
kb_checklists=
kb_reference=
visual_damage=1
prop_anim_ratio=1.41
ui_manufacturer=AI Helicopter
ui_type=Boeing CH-46
ui_variation=Navy
atc_heavy=0
atc_id=
atc_id_color=0xc6804000
atc_airline=
atc_flight_number=
description=Originally the Vertol 106, the twin-rotor prototype first flew on 22 April 1958.Entered USMC service and progressively upgraded. Built under licence Kawasaki in Japan, A total of 700 helicopters of all versions built.
atc_parking_types=RAMP
atc_parking_codes=CH46

[fltsim.1]
title=AI Boeing CH-46 GMax Marines
sim=stemme_as_helicopter_2
//sim=CH-46
model=Marines
panel=
sound=
texture=Marines
kb_checklists=
kb_reference=
visual_damage=1
prop_anim_ratio=1.41
description=Originally the Vertol 106, the twin-rotor prototype first flew on 22 April 1958.Entered USMC service and progressively upgraded. Built under licence Kawasaki in Japan, A total of 700 helicopters of all versions built.
ui_manufacturer=AI Helicopter
ui_type=Boeing CH-46
ui_variation=Marines
atc_heavy=0
atc_id=
atc_id_color=0xc6804000
atc_airline=
atc_flight_number=
atc_parking_codes=CH46
atc_parking_types=RAMP

[General]
performance=Max Speed 144 Knots Range 206nm 
atc_type=Boeing 
atc_model=Sea Knight 
editable=1 




//---- misc tweaked parameters 

[WEIGHT_AND_BALANCE]
reference_datum_position=0.000000,0.000000,0.000000
//empty_weight_CG_position=0.000,0.000,-2.000
empty_weight_CG_position=0.0, 0.0, 0.0
max_number_of_stations=50
station_load.0=0.000000,0.000000,0.000000,0.000000

max_gross_weight=1300	// (pounds)
empty_weight=500

;Moments of Inertia
empty_weight_pitch_MOI=3000
empty_weight_roll_MOI=4000
empty_weight_yaw_MOI=9000
empty_weight_coupled_MOI=-1000

CG_forward_limit=0.000
CG_aft_limit=1.000

[Reference Speeds]
flaps_up_stall_speed=30
full_flaps_stall_speed=27
cruise_speed=110
max_indicated_speed=180.000000

[flight_tuning]
cruise_lift_scalar=1.20 		// was 1.15
parasite_drag_scalar=0.8 		// was 0.8
induced_drag_scalar=0.8 		// was 0.8
elevator_effectiveness=1.5 		// was 1.0
aileron_effectiveness=1.0 
rudder_effectiveness=2.0   		// was 1.5
pitch_stability=1.0 
roll_stability=1.0
yaw_stability=1.0
elevator_trim_effectiveness=1.0
aileron_trim_effectiveness=1.0
rudder_trim_effectiveness=1.9	 	// was 1.0

[flaps.0]       		//Trailing Edge Flaps
type=1          		// 1 - tail, 2 - lead
span-outboard=0.600   	// 0.0 .. 1.0
extending-time=4.000  	// seconds
flaps-position.0=0    	// degrees
flaps-position.1=0   	// degrees           
flaps-position.2=20  	// degrees           
flaps-position.3=30	// degrees
damaging-speed=200   	// KIAS       
blowout-speed=250    	// KIAS
lift_scalar=1.3	 
drag_scalar=0.8
pitch_scalar=1.2
system_type=0        	//0=Electric, 1=Hydraulic, 2=Pneumatic, 3=Manual, 4=None



//---- parameters from CH-64, tweaked

//0  Class                        <0=none,1=wheel, 2=scrape, 3=skid>
//1  Longitudinal Position        (feet)
//2  Lateral Position             (feet)
//3  Vertical Position            (feet)
//4  Impact Damage Threshold      (Feet Per Minute)
//5  Brake Map                    (0=None, 1=Left, 2=Right)
//6  Wheel Radius                 (feet)
//7  Steer Angle                  (degrees)
//8  Static Compression           (feet)  (0 if rigid)
//9  Max/Static Compression Ratio
//10 Damping Ratio                (0=Undamped, 1=Critically Damped)
//11 Extension Time               (seconds)
//12 Retraction Time              (seconds)
//13 Sound Type
//14 Airspeed limit for retraction     (KIAS)
//15 Airspeed that gear gets damage at (KIAS)

[contact_points]


point.0=1,  20.8945,  0.0, -12.2476, 5574.8, 0, 0.70, 45, 0.500, 0.750, 0.850, 6, 6, 0, 120, 120
point.1=1, -12.0476,  8.5, -11.9609, 5574.8, 2, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 3, 120, 120
point.2=1, -12.0476, -8.5, -11.9609, 5574.8, 1, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 2, 120, 120

//v2 tweak
//point.0=1,  12.35,  0.0, -7.9380, 5574.8, 0, 0.70, 45, 0.500, 0.750, 0.850, 6, 6, 0, 120, 120
//point.1=1, -17.00,  7.8, -7.7184, 5574.8, 2, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 3, 120, 120
//point.2=1, -17.00, -7.8, -7.7184, 5574.8, 1, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 2, 120, 120

//v1 tweak
//point.0=1,  20.8945,  0.0, -8.2476, 5574.8, 0, 0.70, 45, 0.500, 0.750, 0.850, 6, 6, 0, 120, 120
//point.1=1, -10.0476,  8.5, -7.9609, 5574.8, 2, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 3, 120, 120
//point.2=1, -10.0476, -8.5, -7.9609, 5574.8, 1, 0.85,  0, 0.500, 0.750, 0.850, 6, 6, 2, 120, 120

//v2 org
//point.0=1, 12.35, 0, -7.938, 1574.8, 0, 0.73, 39.42, 0.2, 5, 0.9, 5, 5, 0, 0, 0
//point.1=1, -17, -7.8047, -7.7184, 1574.8, 1, 0.85, 0, 0.3, 1.5, 0.623, 5, 5, 2, 0, 0
//point.2=1, -17, 7.8047, -7.7184, 1574.8, 2, 0.85, 0, 0.3, 1.5, 0.623, 5, 5, 3, 0, 0

//v1 org
//point.0=1, 20.8945, 0, -11.9476, 2200, 0, 0.7, 45, 0.3, 0.75, 0.728, 6, 6, 0, 120, 120
//point.1=1, -10.0476, 7.5, -11.7609, 2200, 2, 0.85, 0, 0.23, 0.75, 0.728, 6, 6, 3, 120, 120
//point.2=1, -10.0476, -7.5, -11.7609, 2200, 1, 0.85, 0, 0.23, 0.75, 0.728, 6, 6, 2, 120, 120
//point.3=2, 19.7785, 2.1421, -1.6096, 200, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0

static_pitch=0.25
static_cg_height=8.81
//static_cg_height=11.81
tailwheel_lock=1
gear_system_type=0
//max_number_of_points=4

[Views]
eyepoint=10.5, 2.25,2.10
//eyepoint=11.000000,2.0000,2.000000 

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing                   
light.0=3, 0.00, -4.29, -1.03, fx_navred
light.1=3, 0.00, 4.29, -1.03, fx_navgre
light.2=3, -24.13, 0, 11.52, fx_navwhi
light.3=1, -22.43, 0, 8.06, fx_beacon
light.4=3, 12.27, 0, 3.08, fx_vclightwhi
light.5=2, -14.13, 0, 8.01, fx_strobe
light.6=2,  -25.67,  -6.86,  5.00, fx_helismoke 
light.7=2,  -25.67,   6.86,  5.00, fx_helismoke 

[effects]
water=fx_spray
dirt=fx_tchdrt
concrete=fx_AI_rtr_cmnt
//concrete=fx_tchdrt, 1
touchdown=fx_dustcloud_m, 1
startup=fx_engstrt

//touchdown=fx_tchdwn, 1
//landrotorwash=fx_rtr_lnd
//waterrotorwash=fx_rtr_wtr

[smokesystem]
smoke.0=-0.9, 0.48, -4.38, fx_rocketp
smoke.1=-0.9, 0.48, -5.15, fx_rocketp
smoke.2=-0.9, 0.48, 4.38, fx_rocketp
smoke.3=-0.9, 0.48, 5.15, fx_rocketp



//---- parameters from Stemme motor glider, tweaked

[fuel]
LeftMain=-0.250000,-2.100000,2.500000,6.000000,0.000000
RightMain=-0.250000,2.100000,2.500000,6.000000,0.000000
fuel_type=1.000000
number_of_tank_selectors=1
electric_pump=1

[airplane_geometry]
wing_area=400				// was 201.0
wing_span=60				// was 57.0
wing_root_chord=4.916670
wing_dihedral=3.499146
wing_incidence=4.999268 		// was 2.999268
wing_twist=-1.994019
oswald_efficiency_factor=.448140	// was 1.064814  
wing_winglets_flag=0
wing_sweep=0.000000
wing_pos_apex_lon=1.229000
wing_pos_apex_vert=0.000000
htail_area=16.000000
htail_span=7.916667
htail_pos_lon=-16.083333
htail_pos_vert=0.000000
htail_incidence=0.000000
htail_sweep=0.000000
vtail_area=16.000000
vtail_span=4.560702
vtail_sweep=0.000000
vtail_pos_lon=-14.750000
vtail_pos_vert=4.166667
elevator_area=15.000000
aileron_area=11.740000
rudder_area=6.000000
elevator_up_limit=30.0		 	// was 25.000447
elevator_down_limit=18.998903
aileron_up_limit=17.996227
aileron_down_limit=13.000035
rudder_limit=20.995472
elevator_trim_limit=10.0 		// was 19.497754 
spoiler_limit=70
spoilerons_available=1			// was 0
aileron_to_spoileron_gain=0.0005	// was 0
min_ailerons_for_spoilerons=0.005	// was 0
min_flaps_for_spoilerons=0.005	// was 0

[GeneralEngineData]
engine_type=0
Engine.0=8.3
Engine.1=8.3 // 'dummy' for tail rotor
fuel_flow_scalar=1.00
min_throttle_limit=0.000000

[piston_engine]
power_scalar=1.0                    //Piston power scalar
cylinder_displacement=100.300000
compression_ratio=6.0
number_of_cylinders=6			// was 2
max_rated_rpm=3500			// was 2700
max_rated_hp=100.0 			// was 115
fuel_metering_type=1
cooling_type=0				// was 1
normalized_starter_torque=0.3
turbocharged=0
max_design_mp=0.0
min_design_mp=0.0
critical_altitude=0.0
emergency_boost_type=0
emergency_boost_mp_offset=0.000000
emergency_boost_gain_offset=0.000000
fuel_air_auto_mixture=0
auto_ignition=0
max_rpm_mechanical_efficiency_scalar=1.000000
idle_rpm_mechanical_efficiency_scalar=1.000000
max_rpm_friction_scalar=1.000000
idle_rpm_friction_scalar=1.000000

[propeller]
thrust_scalar=1.0   			// Propeller thrust scalar
propeller_type=2				// was 0
propeller_diameter=8.000		// was 5.433000
propeller_blades=2
propeller_moi=20.50000			// was 3.350000
beta_max=29.800000
beta_min=4.000000				// was 17.000000 
min_gov_rpm=50.000000			// was 700.000000
prop_tc=0.4					// was 0.004000
gear_reduction_ratio=1.10		// was 1.0
fixed_pitch_beta=0
low_speed_theory_limit=80.000000
prop_sync_available=0
prop_deice_available=0
prop_feathering_available=1
prop_auto_feathering_available=0
min_rpm_for_feather=0
beta_feather=90.0
power_absorbed_cf=0.0
defeathering_accumulators_available=0	// was 1
prop_reverse_available=1			// was 0
minimum_on_ground_beta=2.0			// was 0
minimum_reverse_beta=0.000000

[keyboard_response]
elevator=100.000000,180.000000
aileron=200.000000,1000.000000
rudder=200.000000,1000.000000

[autopilot]
autopilot_available=1
flight_director_available=0
default_vertical_speed=500.000000		// was 700
autothrottle_available=0
pitch_takeoff_ga=-5.00				// was 8.0
max_pitch=10.000000
max_pitch_acceleration=1.000000
max_pitch_velocity_lo_alt=2.000000
max_pitch_velocity_hi_alt=1.500000
max_pitch_velocity_lo_alt_breakpoint=20000.000000
max_pitch_velocity_hi_alt_breakpoint=28000.000000
max_bank=25.000000
max_bank_acceleration=1.800000
max_bank_velocity=3.000000
max_throttle_rate=0.100000
nav_proportional_control=9.000000
nav_integrator_control=0.250000
nav_derivative_control=0.000000
nav_integrator_boundary=2.500000
nav_derivative_boundary=0.000000
gs_proportional_control=9.520000
gs_integrator_control=0.260000
gs_derivative_control=0.000000
gs_integrator_boundary=0.700000
gs_derivative_boundary=0.000000
yaw_damper_gain=0.000000

[direction_indicators]
direction_indicator.0=1,0

[brakes]
toe_brakes_scale=1.915586
//toe_brakes_scale=1.000000
parking_brake=1

[gear_warning_system]
gear_warning_available=0
pct_throttle_limit=0.099976
flap_limit_power=15.996982
flap_limit_idle=0.000000

[hydraulic_system]
normal_pressure=0.000000

[stall_warning]
type=0

[attitude_indicators]
attitude_indicator.0=1

[turn_indicators]
turn_indicator.0=1,0